package menus;


import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JMenuItem;
import javax.swing.JTabbedPane;

import componentes.Ficha;

import Panels.PanelGCafeteria;
import Panels.PanelListar;
import Panels.PanelPeliculaEdit;

import Runables.Run_principal;





public class MenuNuevaCafeteria extends JMenuItem implements ActionListener {

	private JTabbedPane fichas;
	
  public MenuNuevaCafeteria(){
		super("Nueva");
		this.addActionListener(this);
	
	}

@Override
public void actionPerformed(ActionEvent arg0) {
	// TODO Auto-generated method stub
	
	new Ficha("Cafeteria",new PanelGCafeteria(),"Nueva Cafeteria");
	//Run_principal.vent_ppal.addFicha("Cines",new PanelTest(),"cines");
}
	
}
